package com.qing.microservices.shirostudy.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author guoqf
 */
@RequestMapping("/file")
@RestController
public class MultipartFileController {


    @PostMapping("/single")
    public void singleFile(@RequestBody MultipartFile file) {

    }


    @PostMapping("/multi-data")
    public void multiData(@RequestBody MultiFileParam param) {

    }
}
